package com.cloud.cop;

public enum ResponseFormat {
	XML,JSON;
	public static ResponseFormat getFormat(String format){
		if("xml".equalsIgnoreCase(format))
			return XML;
		else 
			return JSON;
	}
}
